import static org.junit.jupiter.api.Assertions.assertEquals;

public class NGuessNumberTest {
    private static NGuessNumber guessNumber = new NGuessNumber();
    /**+
     * 测试通过
     * @return
     */
    @org.junit.jupiter.api.Test
    void generateAnswerTest() {
        assertEquals(4, guessNumber.generateAnswer().size());
    }
    /**+
     * 测试通过
     * @return
     */
    @org.junit.jupiter.api.Test
    void getPlayerInputTest() {
        assertEquals(4, guessNumber.getPlayerInput().length);
    }
    /**+
     * 测试通过
     * @return
     */
    @org.junit.jupiter.api.Test
    void compareGuessAnswerTest() {
        assertEquals(true, guessNumber.compareGuessAnswer());
    }
}